Skip to content

feat: don't rebuild container on bazel version change#9073

Open
nmattia wants to merge 2 commits intomasterfrom
nm-bazel-version
Open

feat: don't rebuild container on bazel version change#9073
nmattia wants to merge 2 commits intomasterfrom
nm-bazel-version

Conversation

@nmattia
Copy link
Contributor

@nmattia nmattia commented Feb 27, 2026

This removes the .bazelversion as a dependency from the Dockerfile, meaning that bazel version bumps won't force the container to be rebuilt.

The .bazelversion was only used to generate bash completion. The bash completion is now run only in interactive mode (if no command is run) and as the container is run (not built).

(bazelisk is bumped to a recent version that contains the completion command)

@github-actions github-actions bot added the feat label Feb 27, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 27, 2026

Run URL: https://github.com/dfinity/ic/actions/runs/22483223367

New container image: sha256:2157bda72421ff05104e22333a5c1271faa41b575d7d9045930ec97494afbce7
New container tag: d6be76135e33664d3232e5476a6707d7c3bf9fc9fa5407b3496a444d2e16a7f8

This removes the `.bazelversion` as a dependency from the `Dockerfile`,
meaning that bazel version bumps won't force the container to be
rebuilt.

The `.bazelversion` was only used to generate bash completion. The bash
completion is now run only in interactive mode (if no command is run)
and as the container is run (not built).

(bazelisk is bumped to a recent version that contains the completion command)
…a41b575d7d9045930ec97494afbce7

Image tag: d6be76135e33664d3232e5476a6707d7c3bf9fc9fa5407b3496a444d2e16a7f8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants